/**
 * @author John Hewison
 * @author $LastChangedBy: john.hewison $:  $ $LastChangedDate: 2009-02-07 20:27:07 +0000 (Sat, 07 Feb 2009) $:
 * @version $Revision: 362 $:
 */
package dk.hewison.client.panels;

import dk.hewison.client.MediaAppView;
import dk.hewison.client.domain.Directory;
import dk.hewison.client.mvc.View;
import dk.hewison.client.pages.MainMenuView;
import dk.hewison.client.pages.MenuItem;
import dk.hewison.client.pages.PageStackView;
import dk.hewison.client.pages.StartPageView;

public class ViewFactory {
    private static ViewFactory ourInstance = new ViewFactory();

    public static ViewFactory getInstance() {
        return ourInstance;
    }

    private ViewFactory() {
    }

    public View<Directory> createMediaAppView() {
        return new MediaAppView();
    }

    public View<String> createStartPageView() {
        return new StartPageView();
    }

    public View<Integer> createPageStackView() {
        return new PageStackView();
    }

    public View<MenuItem[]> createMainMenuView() {
        return new MainMenuView();
    }
}
